package view.base
{
	import events.EventType;
	import events.GameDispatherEvent;
	
	import flash.display.Sprite;
	import flash.events.Event;

	public class BaseView extends Sprite
	{
		private var _isCloseLoop:Boolean;
		public function BaseView()
		{
			GameDispatherEvent.addEventListener(EventType.LOOP,loop);
		}
		
		protected function loop(event:Event):void
		{
		}

		public function set isCloseLoop(value:Boolean):void
		{
			_isCloseLoop = value;
		}

		public function get isCloseLoop():Boolean
		{
			return _isCloseLoop;
		}


	}
}